package com.example.springboot_logback.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class TestController1 {
    @GetMapping("/test")
    public String test(){
        log.info("大眼直转！~info");
        log.error("大眼直转！~error");
        log.warn("大眼直转！~warn");
        return "testLogback";
    }

}
